<%@page import="com.hamizhong.iflowers.web.vo.GoodsVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.FlowerCountVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.FlowerFloridVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.TargetVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.FestivalVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.PurposeVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.ColorVO"%>
<%@page import="com.hamizhong.iflowers.web.vo.VarietyVO"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%@include file="../common/common.jsp" %>
<link rel="stylesheet" href="<%=request.getContextPath() %>/css/cat_slider.css">
<title>Hami鲜花-鲜花模糊搜索</title>
</head>
<%
	List<GoodsVO> goodsVOList = (List<GoodsVO>)request.getAttribute("goodsVOList");
%>
<body>
		<%@include file="frame/top.jsp" %>
	<div class="main_div">
		<%@include file="frame/navigation.jsp" %>
		<div style="width: 990px;height: auto;margin: 0 auto;overflow: hidden;">
		
			<!-- 商品列表 -->
			<div style="float: right;width: 100%;height: auto;margin: 0 auto;overflow: hidden;">
				<div style="width: 100%;height: 30px;line-height: 30px;background: none repeat scroll 0 0 #EFEFEF;border: 1px solid #CCCCCC;">
					<font style="font-weight: bold;margin-left: 5px;">搜索结果</font>
				</div>
				<div id="itemListDiv" style="width: 100%;*width: 988px;height: auto;overflow: hidden;min-height: 550px;border: 1px solid #CCC;border-top: 0;">
				<%
					if(goodsVOList != null) {
						for(GoodsVO goodsVO: goodsVOList) {
				%>
					<div style="width: 175px;height: 240px;float: left;margin: 10px;border: 1px solid #DDD;">
						<div style="width: 170px;height: 170px;margin: 2px;">
							<a target="_blank" href="<%=request.getContextPath() %>/goodsItem.action?goodsId=<%=goodsVO.getGoodsId() %>"><img  alt="" src="<%=request.getContextPath() %>/<%=goodsVO.getGoodsPictureS()%>"></a>
						</div>
						<div style="width: 170px;height: 30px;line-height: 30px;margin: 2px;margin-top: 10px;text-align: center;">
							<a target="_blank" href="<%=request.getContextPath() %>/goodsItem.action?goodsId=<%=goodsVO.getGoodsId()%>"><%=goodsVO.getGoodsName() %></a>
						</div>
					<%
						if(goodsVO.getIsBargin() == 1) {
					%>
						<div style="width: 170px;height: 25px;line-height: 25px;text-align: center;color: #FF4326;font-weight: bold;">
							<font style="color: #CCC;">￥<%=goodsVO.getGoodsPrice() %>&nbsp;/&nbsp;</font>￥<%=goodsVO.getBarginPrice() %>
						</div>
					<%
						}else {
					%>
						<div style="width: 170px;height: 25px;line-height: 25px;text-align: center;color: #FF4326;font-weight: bold;">
							￥<%=goodsVO.getGoodsPrice() %>
						</div>
					<%
						}
					%>
					</div>
				<%
						}
					}
				%>
				</div>
			</div>
			
		</div>
		<div style="clear: both;width: 100%;height: 30px;"></div>
	</div>
	<%@include file="frame/feet2.jsp" %>
</body>

</html>